import { get, postForm } from '@/utils/request'

export function getGenConfig(tableName) {
  return get('/gen/code/opt/config/table', { tableName: tableName })
}

export function update(optData) {
  return postForm('/gen/code/opt/config/table', optData)
}
